/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import type.Month;

/**
 *
 * @author sunwei
 */
@Entity(name = "SalesForecastToActualSales")
public class SalesForecastToActualSalesEntity extends DataObjectEntity implements Serializable{
    
    int year;
    int month;
    long forecastedValue;
    long actualValue;
    double percentageChange;

    public double getPercentageChange() {
        return percentageChange;
    }

    public void setPercentageChange(double percentageChange) {
        this.percentageChange = percentageChange;
    }
    
    
    public long getActualValue() {
        return actualValue;
    }

    public void setActualValue(long actualValue) {
        this.actualValue = actualValue;
    }

    public long getForecastedValue() {
        return forecastedValue;
    }

    public void setForecastedValue(long forecastedValue) {
        this.forecastedValue = forecastedValue;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }
    
    

    @Override
    public String childToString() {
        return "Forecast to Quantity entity";
    }
    
}
